<!DOCTYPE html>
<html>
  <head>
      <meta charset="utf-8" />
      <title>chat_api接口文档</title>
      <style>.markdown-preview:not([data-use-github-style]) { padding: 2em; font-size: 1.2em; color: rgb(171, 178, 191); overflow: auto; background-color: rgb(40, 44, 52); }
.markdown-preview:not([data-use-github-style]) > :first-child { margin-top: 0px; }
.markdown-preview:not([data-use-github-style]) h1, .markdown-preview:not([data-use-github-style]) h2, .markdown-preview:not([data-use-github-style]) h3, .markdown-preview:not([data-use-github-style]) h4, .markdown-preview:not([data-use-github-style]) h5, .markdown-preview:not([data-use-github-style]) h6 { line-height: 1.2; margin-top: 1.5em; margin-bottom: 0.5em; color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) h1 { font-size: 2.4em; font-weight: 300; }
.markdown-preview:not([data-use-github-style]) h2 { font-size: 1.8em; font-weight: 400; }
.markdown-preview:not([data-use-github-style]) h3 { font-size: 1.5em; font-weight: 500; }
.markdown-preview:not([data-use-github-style]) h4 { font-size: 1.2em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h5 { font-size: 1.1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h6 { font-size: 1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) strong { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) del { color: rgb(124, 135, 156); }
.markdown-preview:not([data-use-github-style]) a, .markdown-preview:not([data-use-github-style]) a code { color: rgb(82, 139, 255); }
.markdown-preview:not([data-use-github-style]) img { max-width: 100%; }
.markdown-preview:not([data-use-github-style]) > p { margin-top: 0px; margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) > ul, .markdown-preview:not([data-use-github-style]) > ol { margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) blockquote { margin: 1.5em 0px; font-size: inherit; color: rgb(124, 135, 156); border-color: rgb(75, 83, 98); border-width: 4px; }
.markdown-preview:not([data-use-github-style]) hr { margin: 3em 0px; border-top: 2px dashed rgb(75, 83, 98); background: none; }
.markdown-preview:not([data-use-github-style]) table { margin: 1.5em 0px; }
.markdown-preview:not([data-use-github-style]) th { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) th, .markdown-preview:not([data-use-github-style]) td { padding: 0.66em 1em; border: 1px solid rgb(75, 83, 98); }
.markdown-preview:not([data-use-github-style]) code { color: rgb(255, 255, 255); background-color: rgb(58, 63, 75); }
.markdown-preview:not([data-use-github-style]) pre.editor-colors { margin: 1.5em 0px; padding: 1em; font-size: 0.92em; border-radius: 3px; background-color: rgb(49, 54, 63); }
.markdown-preview:not([data-use-github-style]) kbd { color: rgb(255, 255, 255); border-width: 1px 1px 2px; border-style: solid; border-color: rgb(75, 83, 98) rgb(75, 83, 98) rgb(62, 68, 81); background-color: rgb(58, 63, 75); }
.markdown-preview[data-use-github-style] { font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; line-height: 1.6; word-wrap: break-word; padding: 30px; font-size: 16px; color: rgb(51, 51, 51); overflow: scroll; background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] > :first-child { margin-top: 0px !important; }
.markdown-preview[data-use-github-style] > :last-child { margin-bottom: 0px !important; }
.markdown-preview[data-use-github-style] a:not([href]) { color: inherit; text-decoration: none; }
.markdown-preview[data-use-github-style] .absent { color: rgb(204, 0, 0); }
.markdown-preview[data-use-github-style] .anchor { position: absolute; top: 0px; left: 0px; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; }
.markdown-preview[data-use-github-style] .anchor:focus { outline: none; }
.markdown-preview[data-use-github-style] h1, .markdown-preview[data-use-github-style] h2, .markdown-preview[data-use-github-style] h3, .markdown-preview[data-use-github-style] h4, .markdown-preview[data-use-github-style] h5, .markdown-preview[data-use-github-style] h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; }
.markdown-preview[data-use-github-style] h1 .octicon-link, .markdown-preview[data-use-github-style] h2 .octicon-link, .markdown-preview[data-use-github-style] h3 .octicon-link, .markdown-preview[data-use-github-style] h4 .octicon-link, .markdown-preview[data-use-github-style] h5 .octicon-link, .markdown-preview[data-use-github-style] h6 .octicon-link { display: none; color: rgb(0, 0, 0); vertical-align: middle; }
.markdown-preview[data-use-github-style] h1:hover .anchor, .markdown-preview[data-use-github-style] h2:hover .anchor, .markdown-preview[data-use-github-style] h3:hover .anchor, .markdown-preview[data-use-github-style] h4:hover .anchor, .markdown-preview[data-use-github-style] h5:hover .anchor, .markdown-preview[data-use-github-style] h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; }
.markdown-preview[data-use-github-style] h1:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h2:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h3:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h4:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h5:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h6:hover .anchor .octicon-link { display: inline-block; }
.markdown-preview[data-use-github-style] h1 tt, .markdown-preview[data-use-github-style] h2 tt, .markdown-preview[data-use-github-style] h3 tt, .markdown-preview[data-use-github-style] h4 tt, .markdown-preview[data-use-github-style] h5 tt, .markdown-preview[data-use-github-style] h6 tt, .markdown-preview[data-use-github-style] h1 code, .markdown-preview[data-use-github-style] h2 code, .markdown-preview[data-use-github-style] h3 code, .markdown-preview[data-use-github-style] h4 code, .markdown-preview[data-use-github-style] h5 code, .markdown-preview[data-use-github-style] h6 code { font-size: inherit; }
.markdown-preview[data-use-github-style] h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h1 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h2 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h3 { font-size: 1.5em; line-height: 1.43; }
.markdown-preview[data-use-github-style] h3 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h4 { font-size: 1.25em; }
.markdown-preview[data-use-github-style] h4 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h5 { font-size: 1em; }
.markdown-preview[data-use-github-style] h5 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] h6 { font-size: 1em; color: rgb(119, 119, 119); }
.markdown-preview[data-use-github-style] h6 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] p, .markdown-preview[data-use-github-style] blockquote, .markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol, .markdown-preview[data-use-github-style] dl, .markdown-preview[data-use-github-style] table, .markdown-preview[data-use-github-style] pre { margin-top: 0px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] hr { height: 4px; padding: 0px; margin: 16px 0px; border: 0px none; background-color: rgb(231, 231, 231); }
.markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol { padding-left: 2em; }
.markdown-preview[data-use-github-style] ul.no-list, .markdown-preview[data-use-github-style] ol.no-list { padding: 0px; list-style-type: none; }
.markdown-preview[data-use-github-style] ul ul, .markdown-preview[data-use-github-style] ul ol, .markdown-preview[data-use-github-style] ol ol, .markdown-preview[data-use-github-style] ol ul { margin-top: 0px; margin-bottom: 0px; }
.markdown-preview[data-use-github-style] li > p { margin-top: 16px; }
.markdown-preview[data-use-github-style] dl { padding: 0px; }
.markdown-preview[data-use-github-style] dl dt { padding: 0px; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; }
.markdown-preview[data-use-github-style] dl dd { padding: 0px 16px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] blockquote { padding: 0px 15px; color: rgb(119, 119, 119); border-left: 4px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] blockquote > :first-child { margin-top: 0px; }
.markdown-preview[data-use-github-style] blockquote > :last-child { margin-bottom: 0px; }
.markdown-preview[data-use-github-style] table { display: block; width: 100%; overflow: auto; word-break: keep-all; }
.markdown-preview[data-use-github-style] table th { font-weight: bold; }
.markdown-preview[data-use-github-style] table th, .markdown-preview[data-use-github-style] table td { padding: 6px 13px; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] table tr { border-top: 1px solid rgb(204, 204, 204); background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
.markdown-preview[data-use-github-style] img { max-width: 100%; box-sizing: border-box; }
.markdown-preview[data-use-github-style] .emoji { max-width: none; }
.markdown-preview[data-use-github-style] span.frame { display: block; overflow: hidden; }
.markdown-preview[data-use-github-style] span.frame > span { display: block; float: left; width: auto; padding: 7px; margin: 13px 0px 0px; overflow: hidden; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] span.frame span img { display: block; float: left; }
.markdown-preview[data-use-github-style] span.frame span span { display: block; padding: 5px 0px 0px; clear: both; color: rgb(51, 51, 51); }
.markdown-preview[data-use-github-style] span.align-center { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-center > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: center; }
.markdown-preview[data-use-github-style] span.align-center span img { margin: 0px auto; text-align: center; }
.markdown-preview[data-use-github-style] span.align-right { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-right > span { display: block; margin: 13px 0px 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] span.align-right span img { margin: 0px; text-align: right; }
.markdown-preview[data-use-github-style] span.float-left { display: block; float: left; margin-right: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-left span { margin: 13px 0px 0px; }
.markdown-preview[data-use-github-style] span.float-right { display: block; float: right; margin-left: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-right > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] code, .markdown-preview[data-use-github-style] tt { padding: 0.2em 0px; margin: 0px; font-size: 85%; border-radius: 3px; background-color: rgba(0, 0, 0, 0.0392157); }
.markdown-preview[data-use-github-style] code::before, .markdown-preview[data-use-github-style] tt::before, .markdown-preview[data-use-github-style] code::after, .markdown-preview[data-use-github-style] tt::after { letter-spacing: -0.2em; content: " "; }
.markdown-preview[data-use-github-style] code br, .markdown-preview[data-use-github-style] tt br { display: none; }
.markdown-preview[data-use-github-style] del code { text-decoration: inherit; }
.markdown-preview[data-use-github-style] pre > code { padding: 0px; margin: 0px; font-size: 100%; word-break: normal; white-space: pre; border: 0px; background: transparent; }
.markdown-preview[data-use-github-style] .highlight { margin-bottom: 16px; }
.markdown-preview[data-use-github-style] .highlight pre, .markdown-preview[data-use-github-style] pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; border-radius: 3px; background-color: rgb(247, 247, 247); }
.markdown-preview[data-use-github-style] .highlight pre { margin-bottom: 0px; word-break: normal; }
.markdown-preview[data-use-github-style] pre { word-wrap: normal; }
.markdown-preview[data-use-github-style] pre code, .markdown-preview[data-use-github-style] pre tt { display: inline; max-width: initial; padding: 0px; margin: 0px; overflow: initial; line-height: inherit; word-wrap: normal; border: 0px; background-color: transparent; }
.markdown-preview[data-use-github-style] pre code::before, .markdown-preview[data-use-github-style] pre tt::before, .markdown-preview[data-use-github-style] pre code::after, .markdown-preview[data-use-github-style] pre tt::after { content: normal; }
.markdown-preview[data-use-github-style] kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: rgb(85, 85, 85); vertical-align: middle; border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(187, 187, 187); border-radius: 3px; box-shadow: rgb(187, 187, 187) 0px -1px 0px inset; background-color: rgb(252, 252, 252); }
.markdown-preview[data-use-github-style] a { color: rgb(51, 122, 183); }
.markdown-preview[data-use-github-style] code { color: inherit; }
.markdown-preview[data-use-github-style] pre.editor-colors { padding: 0.8em 1em; margin-bottom: 1em; font-size: 0.85em; border-radius: 4px; overflow: auto; }
.scrollbars-visible-always .markdown-preview pre.editor-colors .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors .horizontal-scrollbar { visibility: hidden; }
.scrollbars-visible-always .markdown-preview pre.editor-colors:hover .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors:hover .horizontal-scrollbar { visibility: visible; }
.markdown-preview .task-list-item-checkbox { position: absolute; margin: 0.25em 0px 0px -1.4em; }
.bracket-matcher .region {
  border-bottom: 1px dotted lime;
  position: absolute;
}

.spell-check-misspelling .region {
  border-bottom: 2px dotted rgba(255, 51, 51, 0.75);
}
.spell-check-corrections {
  width: 25em !important;
}

pre.editor-colors {
  background-color: #282c34;
  color: #abb2bf;
}
pre.editor-colors .line.cursor-line {
  background-color: rgba(153, 187, 255, 0.04);
}
pre.editor-colors .invisible {
  color: #abb2bf;
}
pre.editor-colors .cursor {
  border-left: 2px solid #528bff;
}
pre.editor-colors .selection .region {
  background-color: #3e4451;
}
pre.editor-colors .bracket-matcher .region {
  border-bottom: 1px solid #528bff;
  box-sizing: border-box;
}
pre.editor-colors .invisible-character {
  color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .indent-guide {
  color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .wrap-guide {
  background-color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .find-result .region.region.region,
pre.editor-colors .current-result .region.region.region {
  border-radius: 2px;
  background-color: rgba(82, 139, 255, 0.24);
  transition: border-color 0.4s;
}
pre.editor-colors .find-result .region.region.region {
  border: 2px solid transparent;
}
pre.editor-colors .current-result .region.region.region {
  border: 2px solid #528bff;
  transition-duration: .1s;
}
pre.editor-colors .gutter .line-number {
  color: #636d83;
  -webkit-font-smoothing: antialiased;
}
pre.editor-colors .gutter .line-number.cursor-line {
  color: #abb2bf;
  background-color: #2c313a;
}
pre.editor-colors .gutter .line-number.cursor-line-no-selection {
  background-color: transparent;
}
pre.editor-colors .gutter .line-number .icon-right {
  color: #abb2bf;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before {
  bottom: -3px;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 25px;
  border-bottom: 1px dotted rgba(224, 82, 82, 0.5);
  pointer-events: none;
}
pre.editor-colors .gutter .line-number.folded,
pre.editor-colors .gutter .line-number:after,
pre.editor-colors .fold-marker:after {
  color: #abb2bf;
}
.syntax--comment {
  color: #5c6370;
  font-style: italic;
}
.syntax--comment .syntax--markup.syntax--link {
  color: #5c6370;
}
.syntax--entity.syntax--name.syntax--type {
  color: #e5c07b;
}
.syntax--entity.syntax--other.syntax--inherited-class {
  color: #98c379;
}
.syntax--keyword {
  color: #c678dd;
}
.syntax--keyword.syntax--control {
  color: #c678dd;
}
.syntax--keyword.syntax--operator {
  color: #abb2bf;
}
.syntax--keyword.syntax--other.syntax--special-method {
  color: #61afef;
}
.syntax--keyword.syntax--other.syntax--unit {
  color: #d19a66;
}
.syntax--storage {
  color: #c678dd;
}
.syntax--storage.syntax--type.syntax--annotation,
.syntax--storage.syntax--type.syntax--primitive {
  color: #c678dd;
}
.syntax--storage.syntax--modifier.syntax--package,
.syntax--storage.syntax--modifier.syntax--import {
  color: #abb2bf;
}
.syntax--constant {
  color: #d19a66;
}
.syntax--constant.syntax--variable {
  color: #d19a66;
}
.syntax--constant.syntax--character.syntax--escape {
  color: #56b6c2;
}
.syntax--constant.syntax--numeric {
  color: #d19a66;
}
.syntax--constant.syntax--other.syntax--color {
  color: #56b6c2;
}
.syntax--constant.syntax--other.syntax--symbol {
  color: #56b6c2;
}
.syntax--variable {
  color: #e06c75;
}
.syntax--variable.syntax--interpolation {
  color: #be5046;
}
.syntax--variable.syntax--parameter {
  color: #abb2bf;
}
.syntax--string {
  color: #98c379;
}
.syntax--string.syntax--regexp {
  color: #56b6c2;
}
.syntax--string.syntax--regexp .syntax--source.syntax--ruby.syntax--embedded {
  color: #e5c07b;
}
.syntax--string.syntax--other.syntax--link {
  color: #e06c75;
}
.syntax--punctuation.syntax--definition.syntax--comment {
  color: #5c6370;
}
.syntax--punctuation.syntax--definition.syntax--method-parameters,
.syntax--punctuation.syntax--definition.syntax--function-parameters,
.syntax--punctuation.syntax--definition.syntax--parameters,
.syntax--punctuation.syntax--definition.syntax--separator,
.syntax--punctuation.syntax--definition.syntax--seperator,
.syntax--punctuation.syntax--definition.syntax--array {
  color: #abb2bf;
}
.syntax--punctuation.syntax--definition.syntax--heading,
.syntax--punctuation.syntax--definition.syntax--identity {
  color: #61afef;
}
.syntax--punctuation.syntax--definition.syntax--bold {
  color: #e5c07b;
  font-weight: bold;
}
.syntax--punctuation.syntax--definition.syntax--italic {
  color: #c678dd;
  font-style: italic;
}
.syntax--punctuation.syntax--section.syntax--embedded {
  color: #be5046;
}
.syntax--punctuation.syntax--section.syntax--method,
.syntax--punctuation.syntax--section.syntax--class,
.syntax--punctuation.syntax--section.syntax--inner-class {
  color: #abb2bf;
}
.syntax--support.syntax--class {
  color: #e5c07b;
}
.syntax--support.syntax--type {
  color: #56b6c2;
}
.syntax--support.syntax--function {
  color: #56b6c2;
}
.syntax--support.syntax--function.syntax--any-method {
  color: #61afef;
}
.syntax--entity.syntax--name.syntax--function {
  color: #61afef;
}
.syntax--entity.syntax--name.syntax--class,
.syntax--entity.syntax--name.syntax--type.syntax--class {
  color: #e5c07b;
}
.syntax--entity.syntax--name.syntax--section {
  color: #61afef;
}
.syntax--entity.syntax--name.syntax--tag {
  color: #e06c75;
}
.syntax--entity.syntax--other.syntax--attribute-name {
  color: #d19a66;
}
.syntax--entity.syntax--other.syntax--attribute-name.syntax--id {
  color: #61afef;
}
.syntax--meta.syntax--class {
  color: #e5c07b;
}
.syntax--meta.syntax--class.syntax--body {
  color: #abb2bf;
}
.syntax--meta.syntax--method-call,
.syntax--meta.syntax--method {
  color: #abb2bf;
}
.syntax--meta.syntax--definition.syntax--variable {
  color: #e06c75;
}
.syntax--meta.syntax--link {
  color: #d19a66;
}
.syntax--meta.syntax--require {
  color: #61afef;
}
.syntax--meta.syntax--selector {
  color: #c678dd;
}
.syntax--meta.syntax--separator {
  background-color: #373b41;
  color: #abb2bf;
}
.syntax--meta.syntax--tag {
  color: #abb2bf;
}
.syntax--underline {
  text-decoration: underline;
}
.syntax--none {
  color: #abb2bf;
}
.syntax--invalid.syntax--deprecated {
  color: #523d14 !important;
  background-color: #e0c285 !important;
}
.syntax--invalid.syntax--illegal {
  color: #ffffff !important;
  background-color: #e05252 !important;
}
.syntax--markup.syntax--bold {
  color: #d19a66;
  font-weight: bold;
}
.syntax--markup.syntax--changed {
  color: #c678dd;
}
.syntax--markup.syntax--deleted {
  color: #e06c75;
}
.syntax--markup.syntax--italic {
  color: #c678dd;
  font-style: italic;
}
.syntax--markup.syntax--heading {
  color: #e06c75;
}
.syntax--markup.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading {
  color: #61afef;
}
.syntax--markup.syntax--link {
  color: #56b6c2;
}
.syntax--markup.syntax--inserted {
  color: #98c379;
}
.syntax--markup.syntax--quote {
  color: #d19a66;
}
.syntax--markup.syntax--raw {
  color: #98c379;
}
.syntax--source.syntax--c .syntax--keyword.syntax--operator {
  color: #c678dd;
}
.syntax--source.syntax--cpp .syntax--keyword.syntax--operator {
  color: #c678dd;
}
.syntax--source.syntax--cs .syntax--keyword.syntax--operator {
  color: #c678dd;
}
.syntax--source.syntax--css .syntax--property-name,
.syntax--source.syntax--css .syntax--property-value {
  color: #828997;
}
.syntax--source.syntax--css .syntax--property-name.syntax--support,
.syntax--source.syntax--css .syntax--property-value.syntax--support {
  color: #abb2bf;
}
.syntax--source.syntax--gfm .syntax--markup {
  -webkit-font-smoothing: auto;
}
.syntax--source.syntax--gfm .syntax--link .syntax--entity {
  color: #61afef;
}
.syntax--source.syntax--go .syntax--storage.syntax--type.syntax--string {
  color: #c678dd;
}
.syntax--source.syntax--ini .syntax--keyword.syntax--other.syntax--definition.syntax--ini {
  color: #e06c75;
}
.syntax--source.syntax--java .syntax--storage.syntax--modifier.syntax--import {
  color: #e5c07b;
}
.syntax--source.syntax--java .syntax--storage.syntax--type {
  color: #e5c07b;
}
.syntax--source.syntax--java .syntax--keyword.syntax--operator.syntax--instanceof {
  color: #c678dd;
}
.syntax--source.syntax--java-properties .syntax--meta.syntax--key-pair {
  color: #e06c75;
}
.syntax--source.syntax--java-properties .syntax--meta.syntax--key-pair > .syntax--punctuation {
  color: #abb2bf;
}
.syntax--source.syntax--js .syntax--keyword.syntax--operator {
  color: #56b6c2;
}
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--delete,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--in,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--of,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--instanceof,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--new,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--typeof,
.syntax--source.syntax--js .syntax--keyword.syntax--operator.syntax--void {
  color: #c678dd;
}
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--dictionary.syntax--json > .syntax--string.syntax--quoted.syntax--json {
  color: #e06c75;
}
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--dictionary.syntax--json > .syntax--string.syntax--quoted.syntax--json > .syntax--punctuation.syntax--string {
  color: #e06c75;
}
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--dictionary.syntax--json > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json,
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--array.syntax--json > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json,
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--dictionary.syntax--json > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json > .syntax--punctuation,
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--array.syntax--json > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json > .syntax--punctuation {
  color: #98c379;
}
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--dictionary.syntax--json > .syntax--constant.syntax--language.syntax--json,
.syntax--source.syntax--json .syntax--meta.syntax--structure.syntax--array.syntax--json > .syntax--constant.syntax--language.syntax--json {
  color: #56b6c2;
}
.syntax--source.syntax--ruby .syntax--constant.syntax--other.syntax--symbol > .syntax--punctuation {
  color: inherit;
}
.syntax--source.syntax--python .syntax--keyword.syntax--operator.syntax--logical.syntax--python {
  color: #c678dd;
}
.syntax--source.syntax--python .syntax--variable.syntax--parameter {
  color: #d19a66;
}
</style>
  </head>
  <body class='markdown-preview' data-use-github-style><hr>
<h1 id="chat-system-">Chat System 站接口文档</h1>
<hr>
<h2 id="-syscompany-">一.SysCompany(总公司)公司信息接口说明</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysComInfo">http://www.newyali.cn/api/SysMessage/GetSysComInfo</a></p>
<h3 id="1-">1.获取总公司信息</h3>
<h4 id="-">方法名</h4>
<p>GetSysComInfo</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |</p>
<p> 无需要传递参数</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">syscompanyId</td>
<td style="text-align:left">公司ID</td>
</tr>
<tr>
<td style="text-align:center">syscompanyName</td>
<td style="text-align:left">公司名字</td>
</tr>
<tr>
<td style="text-align:center">syscompanyAddress</td>
<td style="text-align:left">公司地址</td>
</tr>
<tr>
<td style="text-align:center">syscompanyEmail</td>
<td style="text-align:left">公司邮箱</td>
</tr>
<tr>
<td style="text-align:center">syscompanyWebsite</td>
<td style="text-align:left">公司网站</td>
</tr>
<tr>
<td style="text-align:center">syscompanyGmname</td>
<td style="text-align:left">网站管理员名称</td>
</tr>
<tr>
<td style="text-align:center">syscompanyGmpwd</td>
<td style="text-align:left">网站管理员密码</td>
</tr>
<tr>
<td style="text-align:center">syscompanyGmKey</td>
<td style="text-align:left">网站管理员密码加密因子（SHA1(usname/tpassword,key)）</td>
</tr>
<tr>
<td style="text-align:center">syscompanyKefuname</td>
<td style="text-align:left">客服名称</td>
</tr>
<tr>
<td style="text-align:center">syscompanyKefupwd</td>
<td style="text-align:left">客服密码</td>
</tr>
<tr>
<td style="text-align:center">syscompanyKefuKey</td>
<td style="text-align:left">网站管理员密码加密因子（SHA1(usname/tpassword,key)）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;syscompanyId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyName&quot;:&nbsp;&quot;广东鸭梨新媒体信息科技股份有限公司&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyAddress&quot;:&nbsp;&quot;佛山禅城张槎一路115号华南创谷12层&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyEmail&quot;:&nbsp;&quot;407244897@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyWebsite&quot;:&nbsp;&quot;www.newyali.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyKefuname&quot;:&nbsp;&quot;antelys&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyKefupwd&quot;:&nbsp;&quot;70379d28d3624d3be9ff2c34423815700eafec80&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyGmname&quot;:&nbsp;&quot;yali123&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;syscompanyGmpwd&quot;:&nbsp;&quot;c9dacb4130f8dfb1fc40b520f641762383f4ef65&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>}</p>
<h2 id="-syscompany-">二.SysCompany(总公司)员工信息列表</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysStaff">http://www.newyali.cn/api/SysMessage/GetSysStaff</a></p>
<h3 id="1-">1.员工信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetSysStaff</p>
<h4 id="-http-www-newyali-cn-api-sysmessage-getsysstaff-10-">参数（示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysStaff&#xFF09;(&#x5168;&#x90E8;&#x5217;&#x8868;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;10&#x6761;">http://www.newyali.cn/api/SysMessage/GetSysStaff）(全部列表，默认是10条</a>)</h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"></td>
</tr>
</tbody>
</table>
<p>| page | int | 否 | 当前页码（默认是：1） |
| rows | int | 否 | 每页显示的条数（默认是：20，空则为获取所有） |
| property | string | 否 | 默认为网站编号 | 默认是 uid |
| desc | string | 否 | 默认为降序 | 默认是desc (传true或者不传 desc,传false则为asc) |
| keywords | string | 否 | 模糊搜索条件 |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">sysstaffId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">sysstaffNo</td>
<td style="text-align:left">员工编号</td>
</tr>
<tr>
<td style="text-align:center">sysstaffRealname</td>
<td style="text-align:left">姓名</td>
</tr>
<tr>
<td style="text-align:center">sysstaffHeadPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">sysstaffSex</td>
<td style="text-align:left">性别（0：男，1：女）</td>
</tr>
<tr>
<td style="text-align:center">sysstaffPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">sysstaffEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">sysstaffUsername</td>
<td style="text-align:left">用户名称</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服工号</td>
</tr>
<tr>
<td style="text-align:center">staffIskefu</td>
<td style="text-align:left">是否开启客服（默认是0 (1:开启,0:关闭)）</td>
</tr>
<tr>
<td style="text-align:center">sysstaffCreatetime</td>
<td style="text-align:left">创建时间</td>
</tr>
<tr>
<td style="text-align:center">sysstaffUpdatetime</td>
<td style="text-align:left">修改时间</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服</td>
<td>客服编号</td>
</tr>
<tr>
<td style="text-align:center">section</td>
<td style="text-align:left">部门职位</td>
<td>array()(该员工的部门职位)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门id</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align:center">SectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionJobId</td>
<td style="text-align:left">职位id</td>
</tr>
<tr>
<td style="text-align:center">SectionJobName</td>
<td style="text-align:left">职位名称</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;count&quot;:&quot;2&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sysstaffId&quot;:&nbsp;667,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffNo&quot;:&nbsp;&quot;456687&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffRealname&quot;:&nbsp;&quot;哈哈&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffHeadPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/b295d201702071453194047.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffSex&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffPhone&quot;:&nbsp;&quot;15813251301&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffEmail&quot;:&nbsp;&quot;727702498@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUsername&quot;:&nbsp;&quot;15813251301&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffCreatetime&quot;:&nbsp;&quot;2017-03-08&nbsp;17:28:13&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUpdatetime&quot;:&nbsp;&quot;0&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffIskefu&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffStatus&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;section&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;55,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionJobId&quot;:&nbsp;114,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionName&quot;:&nbsp;&quot;客服部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionJobName&quot;:&nbsp;&quot;售前客服&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sysstaffId&quot;:&nbsp;663,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffNo&quot;:&nbsp;&quot;45679&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffRealname&quot;:&nbsp;&quot;撒旦&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffHeadPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/b295d201702071453194047.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffSex&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffPhone&quot;:&nbsp;&quot;13415137198&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffEmail&quot;:&nbsp;&quot;354831035@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUsername&quot;:&nbsp;&quot;13415137198&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffCreatetime&quot;:&nbsp;&quot;2017-03-07&nbsp;16:28:12&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUpdatetime&quot;:&nbsp;&quot;0&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffIskefu&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffStatus&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;section&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;55,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionJobId&quot;:&nbsp;114,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionName&quot;:&nbsp;&quot;客服部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionJobName&quot;:&nbsp;&quot;售前客服&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div></pre><p>}</p>
<h2 id="-syscompany-">三.SysCompany(总公司)获取某个员工信息</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysStaffDetail?uid=566">http://www.newyali.cn/api/SysMessage/GetSysStaffDetail?uid=566</a></p>
<h3 id="1-uid-">1.根据UID获取某个员工信息</h3>
<h4 id="-">方法名</h4>
<p>GetSysStaffDetail</p>
<h4 id="-">参数</h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">uid</td>
<td style="text-align:left">int</td>
<td>是</td>
<td>员工uid必填</td>
</tr>
</tbody>
</table>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">sysstaffId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">sysstaffNo</td>
<td style="text-align:left">员工编号</td>
</tr>
<tr>
<td style="text-align:center">sysstaffRealname</td>
<td style="text-align:left">姓名</td>
</tr>
<tr>
<td style="text-align:center">sysstaffHeadPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">sysstaffSex</td>
<td style="text-align:left">性别（0：男，1：女）</td>
</tr>
<tr>
<td style="text-align:center">sysstaffPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">sysstaffEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">sysstaffUsername</td>
<td style="text-align:left">用户名称</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服工号</td>
</tr>
<tr>
<td style="text-align:center">staffIskefu</td>
<td style="text-align:left">是否开启客服（默认是0 (1:开启,0:关闭)）</td>
</tr>
<tr>
<td style="text-align:center">sysstaffCreatetime</td>
<td style="text-align:left">创建时间</td>
</tr>
<tr>
<td style="text-align:center">sysstaffUpdatetime</td>
<td style="text-align:left">修改时间</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服</td>
<td>客服编号</td>
</tr>
<tr>
<td style="text-align:center">section</td>
<td style="text-align:left">部门职位</td>
<td>array()(该员工的部门职位)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门id</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align:center">SectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionJobId</td>
<td style="text-align:left">职位id</td>
</tr>
<tr>
<td style="text-align:center">SectionJobName</td>
<td style="text-align:left">职位名称</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p>{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;data&quot;:&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sysstaffId&quot;:&nbsp;566,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffNo&quot;:&nbsp;&quot;666666&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffRealname&quot;:&nbsp;&quot;张杰龙&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffHeadPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/1482420170308140130378.jpeg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffSex&quot;:&nbsp;&quot;0&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffPhone&quot;:&nbsp;&quot;18664239163&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffEmail&quot;:&nbsp;&quot;455250968@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUsername&quot;:&nbsp;&quot;antelys&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffCreatetime&quot;:&nbsp;&quot;2017-02-15&nbsp;11:26:51&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffUpdatetime&quot;:&nbsp;&quot;0&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffIskefu&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;sysstaffStatus&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;section&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;54,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionJobId&quot;:&nbsp;109,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionName&quot;:&nbsp;&quot;技术部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionJobName&quot;:&nbsp;&quot;php工程师&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>}</p>
<h2 id="-syscompany-">四.SysCompany(总公司)部门信息</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysSection">http://www.newyali.cn/api/SysMessage/GetSysSection</a></p>
<h3 id="1-">1.部门信息</h3>
<h4 id="-">方法名</h4>
<p>GetSysSection</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| pid | int | 否 | 父级id | （不传，则获取所有部门）（如果传PID必须传level） |
| level | int | 否 | 菜单级数 | （不传，则获取所有菜单）（如果传level必须传PID） |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">syssectionId</td>
<td style="text-align:left">部门ID</td>
</tr>
<tr>
<td style="text-align:center">syssectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">syssectionDescription</td>
<td style="text-align:left">部门描述</td>
</tr>
<tr>
<td style="text-align:center">pid</td>
<td style="text-align:left">父级节点</td>
</tr>
<tr>
<td style="text-align:center">level</td>
<td style="text-align:left">当前菜单级别</td>
<td>0为1级菜单，1为2级菜单</td>
</tr>
<tr>
<td style="text-align:center">haschild</td>
<td style="text-align:left">是否有子部门</td>
<td>0没有，1有</td>
</tr>
<tr>
<td style="text-align:center">isopen</td>
<td style="text-align:left">树是否折叠</td>
<td>默认是0 折叠</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;syssectionId&quot;:&nbsp;51,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionName&quot;:&nbsp;&quot;鸭梨总部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionDescription&quot;:&nbsp;&quot;鸭梨总部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;pid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;isopen&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;haschild&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;level&quot;:&nbsp;1</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;syssectionId&quot;:&nbsp;72,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionName&quot;:&nbsp;&quot;销售部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionDescription&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;pid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;isopen&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;haschild&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;level&quot;:&nbsp;1</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;syssectionId&quot;:&nbsp;82,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionName&quot;:&nbsp;&quot;帮助反馈部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;syssectionDescription&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;pid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;isopen&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;haschild&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;level&quot;:&nbsp;1</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>  ]
}</p>
<h2 id="-syscompany-">五.SysCompany(总公司)获取某个部门信息</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/getSysOneDept?dept_id=51">http://www.newyali.cn/api/SysMessage/getSysOneDept?dept_id=51</a></p>
<h3 id="1-dept_id-">1.根据部门dept_id获取某个部门信息</h3>
<h4 id="-">方法名</h4>
<p>GetSysOneDept</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| dept | int | 是 | 部门dept_id | 必传参数 |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">syssectionId</td>
<td style="text-align:left">部门ID</td>
</tr>
<tr>
<td style="text-align:center">syssectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">syssectionDescription</td>
<td style="text-align:left">部门描述</td>
</tr>
<tr>
<td style="text-align:center">pid</td>
<td style="text-align:left">父级节点</td>
</tr>
<tr>
<td style="text-align:center">level</td>
<td style="text-align:left">当前菜单级别</td>
<td>0为1级菜单，1为2级菜单</td>
</tr>
<tr>
<td style="text-align:center">haschild</td>
<td style="text-align:left">是否有子部门</td>
<td>0没有，1有</td>
</tr>
<tr>
<td style="text-align:center">isopen</td>
<td style="text-align:left">树是否折叠</td>
<td>默认是0 折叠</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p>{</p>
<p>  &quot;code&quot;: 200,
  &quot;msg&quot;: &quot;处理成功&quot;,
  &quot;data&quot;: {
    &quot;syssectionId&quot;: 51,
    &quot;syssectionName&quot;: &quot;鸭梨总部&quot;,
    &quot;syssectionDescription&quot;: &quot;鸭梨总部&quot;,
    &quot;pid&quot;: 0,
    &quot;haschild&quot;: 1,
    &quot;level&quot;: 1</p>
<p>  }
}</p>
<h2 id="-syscompany-">六.SysCompany(总公司)网站基本配置信息</h2>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SysMessage/GetSysConfig">http://www.newyali.cn/api/SysMessage/GetSysConfig</a></p>
<h3 id="1-">1.网站基本配置信息</h3>
<h4 id="-">方法名</h4>
<p>GetSysConfig</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |</p>
<p> 无需要传递参数</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">syscompanyId</td>
<td style="text-align:left">网站ID（原因是总公司站木有ID，暂时代替ID为1）</td>
</tr>
<tr>
<td style="text-align:center">sysconfigWebid</td>
<td style="text-align:left">网站编号（原因是总公司站编号木有，暂时代替WEBID为1）</td>
</tr>
<tr>
<td style="text-align:center">sysconfigName</td>
<td style="text-align:left">网站名称</td>
</tr>
<tr>
<td style="text-align:center">sysconfigLogo</td>
<td style="text-align:left">网站LOGO</td>
</tr>
<tr>
<td style="text-align:center">sysconfigAddress</td>
<td style="text-align:left">联系地址</td>
</tr>
<tr>
<td style="text-align:center">sysconfigLinkman</td>
<td style="text-align:left">联系人</td>
</tr>
<tr>
<td style="text-align:center">sysconfigTel</td>
<td style="text-align:left">联系电话</td>
</tr>
<tr>
<td style="text-align:center">sysconfigFax</td>
<td style="text-align:left">传真</td>
</tr>
<tr>
<td style="text-align:center">sysconfigIsclose</td>
<td style="text-align:left">是否关闭（默认是1，状态（0：关闭；1启用）</td>
</tr>
<tr>
<td style="text-align:center">configReason</td>
<td style="text-align:left">关闭理由</td>
</tr>
<tr>
<td style="text-align:center">sysconfigUrl</td>
<td style="text-align:left">网站地址</td>
</tr>
<tr>
<td style="text-align:center">sysconfigCompanyid</td>
<td style="text-align:left">公司ID（暂时获取为1）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sysconfigId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigWebid&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigName&quot;:&nbsp;&quot;鸭梨PMS鸭梨&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigAlias&quot;:&nbsp;&quot;pms生命周期企业服务平台&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigUrl&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://www.newyali.cn/</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigLogo&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://www.newyali.cn/static/public/images/frontMall/login_logo_mall.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigAddress&quot;:&nbsp;&quot;佛山市禅城区张槎一路115号华南创谷1座西塔12层&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigLinkman&quot;:&nbsp;&quot;客服&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigTel&quot;:&nbsp;&quot;13978945621&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigFax&quot;:&nbsp;&quot;400-816-3211&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigIsclose&quot;:&nbsp;&quot;1&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigReason&quot;:&nbsp;&quot;关闭原因:维护&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;sysconfigCompanyid&quot;:&nbsp;&quot;1&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>}</p>
<h2 id="-soncompany-2017-4-8-">七.SonCompany(子公司)所有子公司列表信息接口说明(目前模拟数据（2017/4/8更新）)</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonComInfo">http://www.newyali.cn/api/SonMessage/GetSonComInfo</a></p>
<h3 id="1-">1.获取所有子公司列表</h3>
<h4 id="-">方法名</h4>
<p>GetSonComInfo</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| page | int | 否 | 当前页码（默认是：1） |
| rows | int | 否 | 每页显示的条数（默认是：20，空则为获取所有） |
| property | string | 否 | 默认为网站编号 | 默认是 id |
| desc | string | 否 | 默认为降序 | 默认是desc (传true或者不传 desc,传false则为asc) |
| keywords | string | 否 | 模糊搜索条件 |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">companyId</td>
<td style="text-align:left">公司ID</td>
</tr>
<tr>
<td style="text-align:center">companyWebId</td>
<td style="text-align:left">公司网站编号ID</td>
</tr>
<tr>
<td style="text-align:center">companyName</td>
<td style="text-align:left">公司名字</td>
</tr>
<tr>
<td style="text-align:center">companyAddress</td>
<td style="text-align:left">公司地址</td>
</tr>
<tr>
<td style="text-align:center">companyEmail</td>
<td style="text-align:left">公司邮箱</td>
</tr>
<tr>
<td style="text-align:center">companyWebsite</td>
<td style="text-align:left">公司网站</td>
</tr>
<tr>
<td style="text-align:center">companyGmname</td>
<td style="text-align:left">网站管理员名称</td>
</tr>
<tr>
<td style="text-align:center">companyGmpwd</td>
<td style="text-align:left">网站管理员密码（MD5加密）</td>
</tr>
<tr>
<td style="text-align:center">companyKefuname</td>
<td style="text-align:left">客服名称</td>
</tr>
<tr>
<td style="text-align:center">companyKefupwd</td>
<td style="text-align:left">客服密码（MD5加密）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;count&quot;:&quot;2&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:&nbsp;&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;companyId&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;uid&quot;:&nbsp;440,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyWebId&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyName&quot;:&nbsp;&quot;grgr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;fref&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyEmail&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyWebsite&quot;:&nbsp;&quot;grgr.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyGmname&quot;:&nbsp;&quot;test&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyGmpwd&quot;:&nbsp;&quot;password&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;companyId&quot;:&nbsp;11,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;uid&quot;:&nbsp;467,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyWebId&quot;:&nbsp;11,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyName&quot;:&nbsp;&quot;测试网040-&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyEmail&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyWebsite&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyGmname&quot;:&nbsp;&quot;test&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&quot;companyGmpwd&quot;:&nbsp;&quot;password&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>  ]
}</p>
<h2 id="-soncompany-web_id-id-2017-3-18-">八.SonCompany(子公司)根据web_id或者公司ID获取公司信息(目前模拟数据（2017/3/18更新）)</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonComByWebId">http://www.newyali.cn/api/SonMessage/GetSonComByWebId</a></p>
<h3 id="1-">1.获取子总公司信息</h3>
<h4 id="-">方法名</h4>
<p>GetSonComByWebId</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| web_id | int | 是 | 网站编号ID |
| lang_id | int | 否 | 语言版本ID |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">companyId</td>
<td style="text-align:left">公司ID</td>
</tr>
<tr>
<td style="text-align:center">companyWebId</td>
<td style="text-align:left">公司网站编号ID</td>
</tr>
<tr>
<td style="text-align:center">companyName</td>
<td style="text-align:left">公司名字</td>
</tr>
<tr>
<td style="text-align:center">companyAddress</td>
<td style="text-align:left">公司地址</td>
</tr>
<tr>
<td style="text-align:center">companyEmail</td>
<td style="text-align:left">公司邮箱</td>
</tr>
<tr>
<td style="text-align:center">companyWebsite</td>
<td style="text-align:left">公司网站</td>
</tr>
<tr>
<td style="text-align:center">companyGmname</td>
<td style="text-align:left">网站管理员名称</td>
</tr>
<tr>
<td style="text-align:center">companyGmpwd</td>
<td style="text-align:left">网站管理员密码（MD5加密）</td>
</tr>
<tr>
<td style="text-align:center">companyKefuname</td>
<td style="text-align:left">客服名称</td>
</tr>
<tr>
<td style="text-align:center">companyKefupwd</td>
<td style="text-align:left">客服密码（MD5加密）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p>{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;data&quot;:</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;companyId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyName&quot;:&nbsp;&quot;test123&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyEmail&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyWebsite&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyGmname&quot;:&nbsp;&quot;test&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyGmpwd&quot;:&nbsp;&quot;password&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>}</p>
<p>##九.SonCompany(子公司)所有子公司员工信息列表(目前模拟数据/舊web站OA數據3/18)</p>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonStaff">http://www.newyali.cn/api/SonMessage/GetSonStaff</a></p>
<h3 id="1-">1.所有子公司员工信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetSonStaff</p>
<h4 id="-">参数</h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">page</td>
<td style="text-align:left">int</td>
<td>否</td>
<td>当前页码（默认是：1）</td>
</tr>
<tr>
<td style="text-align:center">rows</td>
<td style="text-align:left">int</td>
<td>否</td>
<td>每页显示的条数（默认是：20，空则为获取所有）</td>
</tr>
<tr>
<td style="text-align:center">property</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>默认为网站编号</td>
<td>默认是 uid</td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>默认为降序</td>
<td>默认是desc (传true或者不传 desc,传false则为asc)</td>
</tr>
<tr>
<td style="text-align:center">keywords</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>模糊搜索条件</td>
</tr>
</tbody>
</table>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">staffId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">staffNo</td>
<td style="text-align:left">员工编号</td>
</tr>
<tr>
<td style="text-align:center">staffRealname</td>
<td style="text-align:left">姓名</td>
</tr>
<tr>
<td style="text-align:center">staffHeadPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">staffSex</td>
<td style="text-align:left">性别（0：男，1：女）</td>
</tr>
<tr>
<td style="text-align:center">staffPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">staffEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">staffUsername</td>
<td style="text-align:left">用户名称</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服工号</td>
</tr>
<tr>
<td style="text-align:center">staffIskefu</td>
<td style="text-align:left">是否开启总客服状态（默认是0 (1:开启,0:关闭)）</td>
</tr>
<tr>
<td style="text-align:center">companyWebId</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">companyLangId</td>
<td style="text-align:left">语言版本</td>
</tr>
<tr>
<td style="text-align:center">staffCreatetime</td>
<td style="text-align:left">创建时间</td>
</tr>
<tr>
<td style="text-align:center">staffUpdatetime</td>
<td style="text-align:left">修改时间</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服</td>
<td>客服编号</td>
</tr>
<tr>
<td style="text-align:center">section</td>
<td style="text-align:left">部门职位</td>
<td>array()(该员工的部门职位)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门id</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align:center">SectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionJobId</td>
<td style="text-align:left">职位id</td>
</tr>
<tr>
<td style="text-align:center">SectionJobName</td>
<td style="text-align:left">职位名称</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;count&quot;:&quot;2&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffId&quot;:&nbsp;5651,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffNo&quot;:&nbsp;&quot;66666&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffRealname&quot;:&nbsp;&quot;郭科发&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffHeadPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Uploads/182/Oa/Staff/589ea77964273.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffSex&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffPhone&quot;:&nbsp;&quot;13631159518&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffEmail&quot;:&nbsp;&quot;251244374@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffUsername&quot;:&nbsp;&quot;guokefa&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffCreatetime&quot;:&nbsp;&quot;2017-02-11&nbsp;13:56:55&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffUpdatetime&quot;:&nbsp;&quot;0&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffIskefu&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffStatus&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyLangId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;section&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;2,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionJobId&quot;:&nbsp;2,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionName&quot;:&nbsp;&quot;技术部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionJobName&quot;:&nbsp;&quot;程序员&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;staffId&quot;:&nbsp;5626,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffNo&quot;:&nbsp;&quot;80&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffRealname&quot;:&nbsp;&quot;叽叽歪歪&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffHeadPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Uploads/182/Oa/Staff/586e37386b301.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffSex&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffPhone&quot;:&nbsp;&quot;18989562300&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffEmail&quot;:&nbsp;&quot;18989562300@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffUsername&quot;:&nbsp;&quot;jijiwaiwai&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffCreatetime&quot;:&nbsp;&quot;2017-01-05&nbsp;20:08:28&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffUpdatetime&quot;:&nbsp;&quot;2017-01-05&nbsp;20:18:45&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffIskefu&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;staffStatus&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyLangId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;section&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;2,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionJobId&quot;:&nbsp;137,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionName&quot;:&nbsp;&quot;技术部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;SectionJobName&quot;:&nbsp;&quot;后台&quot;</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div></pre><p>}</p>
<p>##十.SonCompany(子公司)根据web_id和用户uid获取用户个人信息(目前模拟数据/舊web站OA數據3/20)</p>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonStaffDetail">http://www.newyali.cn/api/SonMessage/GetSonStaffDetail</a></p>
<h3 id="1-">1.员工信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetSonStaffDetail</p>
<h4 id="-">参数</h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">web_id</td>
<td style="text-align:left">int</td>
<td>是</td>
<td>网站编号</td>
</tr>
<tr>
<td style="text-align:center">uid</td>
<td style="text-align:left">int</td>
<td>是</td>
<td>用户员工UID</td>
</tr>
</tbody>
</table>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">staffId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">staffNo</td>
<td style="text-align:left">员工编号</td>
</tr>
<tr>
<td style="text-align:center">staffRealname</td>
<td style="text-align:left">姓名</td>
</tr>
<tr>
<td style="text-align:center">staffHeadPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">staffSex</td>
<td style="text-align:left">性别（0：男，1：女）</td>
</tr>
<tr>
<td style="text-align:center">staffPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">staffEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">staffUsername</td>
<td style="text-align:left">用户名称</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服工号</td>
</tr>
<tr>
<td style="text-align:center">staffIskefu</td>
<td style="text-align:left">是否开启总客服状态（默认是0 (1:开启,0:关闭)）</td>
</tr>
<tr>
<td style="text-align:center">companyWebId</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">companyLangId</td>
<td style="text-align:left">语言版本</td>
</tr>
<tr>
<td style="text-align:center">staffCreatetime</td>
<td style="text-align:left">创建时间</td>
</tr>
<tr>
<td style="text-align:center">staffUpdatetime</td>
<td style="text-align:left">修改时间</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服</td>
<td>客服编号</td>
</tr>
<tr>
<td style="text-align:center">section</td>
<td style="text-align:left">部门职位</td>
<td>array()(该员工的部门职位)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门id</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align:center">SectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionJobId</td>
<td style="text-align:left">职位id</td>
</tr>
<tr>
<td style="text-align:center">SectionJobName</td>
<td style="text-align:left">职位名称</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p>{
    &quot;code&quot;: 200,
    &quot;msg&quot;: &quot;处理成功&quot;,
    &quot;data&quot;: {
      &quot;sysstaffId&quot;: 5654,
      &quot;sysstaffNo&quot;: &quot;5411023&quot;,
      &quot;sysstaffRealname&quot;: &quot;刘长青&quot;,
      &quot;sysstaffHeadPhoto&quot;: &quot;<a href="http://img3.xinyali.net/Uploads/140/Oa/Staff/58ba54edac895.jpg">http://img3.xinyali.net/Uploads/140/Oa/Staff/58ba54edac895.jpg</a>&quot;,
      &quot;sysstaffSex&quot;: &quot;1&quot;,
      &quot;sysstaffPhone&quot;: &quot;18112300456&quot;,
      &quot;sysstaffEmail&quot;: &quot;18112300456@139.com&quot;,
      &quot;sysstaffUsername&quot;: &quot;oacs005&quot;,
      &quot;sysstaffCreatetime&quot;: &quot;2017-03-04 14:41:31&quot;,
      &quot;sysstaffUpdatetime&quot;: &quot;0&quot;,
      &quot;kefuid&quot;: 0,
      &quot;staffIskefu&quot;: 0,
      &quot;sysstaffStatus&quot;: 0,
      &quot;section&quot;: [
        {
          &quot;sectionId&quot;: 37,
          &quot;sectionJobId&quot;: 86,
          &quot;SectionName&quot;: &quot;测试部&quot;,
          &quot;SectionJobName&quot;: &quot;软件测试&quot;
        }
      ]
    }
}</p>
<h2 id="-soncompany-4-8-">十一.SonCompany(子公司)所有子公司网站基本配置信息列表(数据已经有 4/8)</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonConfig">http://www.newyali.cn/api/SonMessage/GetSonConfig</a></p>
<h3 id="1-">1.所有子公司网站基本配置信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetSonConfig</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |</p>
<p>| page | int | 否 | 当前页码（默认是：1） |
| rows | int | 否 | 每页显示的条数（默认是：20，空则为获取所有） |
| property | string | 否 | 默认为网站编号 | 默认是 uid |
| desc | string | 否 | 默认为降序 | 默认是desc (传true或者不传 desc,传false则为asc) |
| keywords | string | 否 | 模糊搜索条件 |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">companyId</td>
<td style="text-align:left">网站ID</td>
</tr>
<tr>
<td style="text-align:center">configWebid</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">configAddUser</td>
<td style="text-align:left">网站添加人</td>
</tr>
<tr>
<td style="text-align:center">configName</td>
<td style="text-align:left">网站名称</td>
</tr>
<tr>
<td style="text-align:center">configLogo</td>
<td style="text-align:left">网站LOGO</td>
</tr>
<tr>
<td style="text-align:center">configAddress</td>
<td style="text-align:left">联系地址</td>
</tr>
<tr>
<td style="text-align:center">configLinkman</td>
<td style="text-align:left">联系人</td>
</tr>
<tr>
<td style="text-align:center">configTel</td>
<td style="text-align:left">联系电话</td>
</tr>
<tr>
<td style="text-align:center">configFax</td>
<td style="text-align:left">传真</td>
</tr>
<tr>
<td style="text-align:center">configIsclose</td>
<td style="text-align:left">是否关闭（默认是1，状态（0：关闭；1启用）</td>
</tr>
<tr>
<td style="text-align:center">configReason</td>
<td style="text-align:left">关闭理由</td>
</tr>
<tr>
<td style="text-align:center">configCompanyid</td>
<td style="text-align:left">公司ID（以werb_id作为公司ID）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;data&quot;:</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;configId&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAddUser&quot;:&nbsp;440,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configWebid&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configName&quot;:&nbsp;&quot;grgr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAlias&quot;:&nbsp;&quot;grgr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLogo&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/web/fffee201702131441125062.png</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;fref&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLinkman&quot;:&nbsp;&quot;gr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configTel&quot;:&nbsp;&quot;545444484&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configFax&quot;:&nbsp;&quot;454545454&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configIsclose&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configReason&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;7</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;configId&quot;:&nbsp;11,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAddUser&quot;:&nbsp;467,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configWebid&quot;:&nbsp;11,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configName&quot;:&nbsp;&quot;测试网040-&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAlias&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLogo&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLinkman&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configTel&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configFax&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configIsclose&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;configReason&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;11</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>   ]
}</p>
<h2 id="-soncompany-web_id-3-20-">十二.SonCompany(子公司)根据WEB_ID获取子公司网站基本配置信息(数据已有 3/20)</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonOneConfig">http://www.newyali.cn/api/SonMessage/GetSonOneConfig</a></p>
<h3 id="1-">1.网站基本配置信息</h3>
<h4 id="-http-www-newyali-cn-api-sonmessage-getsononeconfig-web_id-7-">方法名（模拟传参：<a href="http://www.newyali.cn/api/SonMessage/GetSonOneConfig?web_id=7&#xFF09;">http://www.newyali.cn/api/SonMessage/GetSonOneConfig?web_id=7）</a></h4>
<p>GetSonOneConfig</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| web_id  | int | 是 | 网站编号ID |
| lang_id | int | 否 | 语言版本ID（默认为1） |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">companyId</td>
<td style="text-align:left">网站ID</td>
</tr>
<tr>
<td style="text-align:center">configWebid</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">configAddUser</td>
<td style="text-align:left">网站添加人</td>
</tr>
<tr>
<td style="text-align:center">configName</td>
<td style="text-align:left">网站名称</td>
</tr>
<tr>
<td style="text-align:center">configLogo</td>
<td style="text-align:left">网站LOGO</td>
</tr>
<tr>
<td style="text-align:center">configAddress</td>
<td style="text-align:left">联系地址</td>
</tr>
<tr>
<td style="text-align:center">configLinkman</td>
<td style="text-align:left">联系人</td>
</tr>
<tr>
<td style="text-align:center">configTel</td>
<td style="text-align:left">联系电话</td>
</tr>
<tr>
<td style="text-align:center">configFax</td>
<td style="text-align:left">传真</td>
</tr>
<tr>
<td style="text-align:center">configIsclose</td>
<td style="text-align:left">是否关闭（默认是1，状态（0：关闭；1启用）</td>
</tr>
<tr>
<td style="text-align:center">configReason</td>
<td style="text-align:left">关闭理由</td>
</tr>
<tr>
<td style="text-align:center">configCompanyid</td>
<td style="text-align:left">公司ID（以werb_id作为公司ID）</td>
</tr>
</tbody>
</table>
<p>| msg | 返回提示信息 |</p>
<h4 id="json-">json示例</h4>
<p>{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;data&quot;:&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;configId&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAddUser&quot;:&nbsp;440,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configWebid&quot;:&nbsp;7,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configName&quot;:&nbsp;&quot;grgr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configAlias&quot;:&nbsp;&quot;grgr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLogo&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/web/fffee201702131441125062.png</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyAddress&quot;:&nbsp;&quot;fref&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configLinkman&quot;:&nbsp;&quot;gr&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configTel&quot;:&nbsp;&quot;545444484&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configFax&quot;:&nbsp;&quot;454545454&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configIsclose&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;configReason&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;7</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>}</span></span></span></div></pre><p>}</p>
<p>##十二.Member(会员信息)会员信息(数据已有)</p>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/member/GetMemberList">http://www.newyali.cn/api/member/GetMemberList</a></p>
<h3 id="1-">1.员工信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetMemberList</p>
<h4 id="-">参数</h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">page</td>
<td style="text-align:left">int</td>
<td>否</td>
<td>当前页码（默认是：1）</td>
</tr>
<tr>
<td style="text-align:center">rows</td>
<td style="text-align:left">int</td>
<td>否</td>
<td>每页显示的条数（默认是：20，空则为获取所有）</td>
</tr>
<tr>
<td style="text-align:center">property</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>默认为网站编号</td>
<td>默认是 uid</td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>默认为降序</td>
<td>默认是desc (传true或者不传 desc,传false则为asc)</td>
</tr>
<tr>
<td style="text-align:center">keywords</td>
<td style="text-align:left">string</td>
<td>否</td>
<td>模糊搜索条件</td>
</tr>
</tbody>
</table>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">memberId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">staffUsername</td>
<td style="text-align:left">用户名字</td>
</tr>
<tr>
<td style="text-align:center">memberPassword</td>
<td style="text-align:left">用户密码</td>
</tr>
<tr>
<td style="text-align:center">memberEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">memberPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">memberPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">memberTel</td>
<td style="text-align:left">电话号码（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">memberAddress</td>
<td style="text-align:left">地址</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服ID（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">companyid</td>
<td style="text-align:left">公司ID（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;count&quot;:&quot;2&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&quot;data&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;memberId&quot;:&nbsp;30,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberUsername&quot;:&nbsp;&quot;的点点滴滴&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPassword&quot;:&nbsp;&quot;73e63e118abbfee01176f82b1f6b54e400ac7fcb&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberEmail&quot;:&nbsp;&quot;231@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPhone&quot;:&nbsp;&quot;18220193491&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/b295d201702071453194047.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberTel&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberAddress&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;182</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;memberId&quot;:&nbsp;29,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberUsername&quot;:&nbsp;&quot;2222222&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPassword&quot;:&nbsp;&quot;6b5eed3cc75c74a0664caa36bfa219ca8d955cba&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberEmail&quot;:&nbsp;&quot;33333333@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPhone&quot;:&nbsp;&quot;&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/b295d201702071453194047.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberTel&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;memberAddress&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;182</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div></pre><p>}</p>
<p>#十三.Member(会员信息)根据WEB_ID获取对应的会员信息(数据已有)</p>
<p>控制器名称：SysMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/member/GetOneMember">http://www.newyali.cn/api/member/GetOneMember</a></p>
<h3 id="1-">1.员工信息列表</h3>
<h4 id="-">方法名</h4>
<p>GetOneMember</p>
<h4 id="-http-www-newyali-cn-api-member-getonemember-web_id-182-uid-30-">参数（示例：<a href="http://www.newyali.cn/api/Member/GetOneMember?web_id=182&amp;uid=30&#xFF09;">http://www.newyali.cn/api/Member/GetOneMember?web_id=182&amp;uid=30）</a></h4>
<table>
<thead>
<tr>
<th style="text-align:center">参数类型</th>
<th style="text-align:left">类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">web_id</td>
<td style="text-align:left">int</td>
<td>是</td>
<td>网站编号</td>
</tr>
<tr>
<td style="text-align:center">uid</td>
<td style="text-align:left">int</td>
<td>是</td>
<td>用户Uid</td>
</tr>
</tbody>
</table>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">memberId</td>
<td style="text-align:left">员工UID</td>
</tr>
<tr>
<td style="text-align:center">staffUsername</td>
<td style="text-align:left">用户名字</td>
</tr>
<tr>
<td style="text-align:center">memberPassword</td>
<td style="text-align:left">用户密码</td>
</tr>
<tr>
<td style="text-align:center">memberEmail</td>
<td style="text-align:left">邮箱</td>
</tr>
<tr>
<td style="text-align:center">memberPhone</td>
<td style="text-align:left">手机号码</td>
</tr>
<tr>
<td style="text-align:center">memberPhoto</td>
<td style="text-align:left">头像</td>
</tr>
<tr>
<td style="text-align:center">memberTel</td>
<td style="text-align:left">电话号码（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">memberAddress</td>
<td style="text-align:left">地址</td>
</tr>
<tr>
<td style="text-align:center">kefuid</td>
<td style="text-align:left">客服ID（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">companyid</td>
<td style="text-align:left">公司ID（暂时无）</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p><code> </code>
{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;data&quot;:&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;memberId&quot;:&nbsp;30,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberUsername&quot;:&nbsp;&quot;的点点滴滴&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberPassword&quot;:&nbsp;&quot;73e63e118abbfee01176f82b1f6b54e400ac7fcb&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberEmail&quot;:&nbsp;&quot;231@qq.com&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberPhone&quot;:&nbsp;&quot;18220193491&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberPhoto&quot;:&nbsp;&quot;</span><span class="syntax--markup syntax--underline syntax--link syntax--http syntax--hyperlink"><span>http://img3.xinyali.net/Staff/b295d201702071453194047.jpg</span></span><span>&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberTel&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;memberAddress&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;kefuid&quot;:&nbsp;null,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&quot;companyid&quot;:&nbsp;182</span></span></span></div></pre><p>   }
}</p>
<h2 id="-soncompany-">十四.SonCompany(子公司)子公司部门信息</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/GetSonSection?web_id=182&amp;pid=1&amp;level=1">http://www.newyali.cn/api/SonMessage/GetSonSection?web_id=182&amp;pid=1&amp;level=1</a></p>
<h3 id="1-">1.部门信息</h3>
<h4 id="-">方法名</h4>
<p>GetSonSection</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| web_id | int | 是 | 网站编号 | 必须传(区分获取那个网站) |
| lang_id | int | 否 | 语言编号 | 非必须传 |
| pid | int | 否 | 父级id | （不传，则获取所有部门）（如果传PID必须传level） |
| level | int | 否 | 菜单级数 | （不传，则获取所有菜单）（如果传level必须传PID） |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门ID</td>
</tr>
<tr>
<td style="text-align:center">sectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionDescription</td>
<td style="text-align:left">部门描述</td>
</tr>
<tr>
<td style="text-align:center">sectionWebId</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">sectionLangId</td>
<td style="text-align:left">语言版本</td>
</tr>
<tr>
<td style="text-align:center">sectionDescription</td>
<td style="text-align:left">部门描述</td>
</tr>
<tr>
<td style="text-align:center">pid</td>
<td style="text-align:left">父级节点</td>
</tr>
<tr>
<td style="text-align:center">level</td>
<td style="text-align:left">当前菜单级别</td>
<td>0为1级菜单，1为2级菜单</td>
</tr>
<tr>
<td style="text-align:center">haschild</td>
<td style="text-align:left">是否有子部门</td>
<td>0没有，1有</td>
</tr>
<tr>
<td style="text-align:center">isopen</td>
<td style="text-align:left">树是否折叠</td>
<td>默认是0 折叠</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p>{</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;code&quot;:&nbsp;200,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;msg&quot;:&nbsp;&quot;处理成功&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;count&quot;:&nbsp;10,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&quot;data&quot;:&nbsp;[</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;2,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionName&quot;:&nbsp;&quot;技术部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionDescription&quot;:&nbsp;&quot;提供公司的技术支持&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;pid&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionLangId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;isopen&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;haschild&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;level&quot;:&nbsp;2</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&quot;sectionId&quot;:&nbsp;3,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionName&quot;:&nbsp;&quot;销售部&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionDescription&quot;:&nbsp;&quot;为公司销售公司产品&quot;,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;pid&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionWebId&quot;:&nbsp;182,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;sectionLangId&quot;:&nbsp;1,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;isopen&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;haschild&quot;:&nbsp;0,</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span class="syntax--meta syntax--paragraph syntax--text"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;level&quot;:&nbsp;2</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>},</span></span></span></div><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>]</span></span></span></div></pre><p>}</p>
<h2 id="-soncompany-">十五.SonCompany(子公司)获取某个部门信息</h2>
<p>控制器名称：SonMessage</p>
<p>调用示例：<a href="http://www.newyali.cn/api/SonMessage/getSonOneDept?dept_id=1&amp;web_id=182">http://www.newyali.cn/api/SonMessage/getSonOneDept?dept_id=1&amp;web_id=182</a></p>
<h3 id="1-dept_id-">1.根据部门dept_id获取某个部门信息</h3>
<h4 id="-">方法名</h4>
<p>getSonOneDept</p>
<h4 id="-">参数</h4>
<p>| 参数类型 | 类型 | 是否必须 | 说明 |
| dept_id | int | 是 | 部门dept_id | 必传参数 |
| web_id | int | 是 | 网站编号 | 必传参数 |</p>
<h4 id="-">返回结果（数组形式）</h4>
<table>
<thead>
<tr>
<th style="text-align:center">字段</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">code</td>
<td style="text-align:left">返回状态(-2155:数据为空，找不到对应数据,200:成功)</td>
</tr>
<tr>
<td style="text-align:center">sectionId</td>
<td style="text-align:left">部门ID</td>
</tr>
<tr>
<td style="text-align:center">sectionName</td>
<td style="text-align:left">部门名称</td>
</tr>
<tr>
<td style="text-align:center">sectionWebId</td>
<td style="text-align:left">网站编号</td>
</tr>
<tr>
<td style="text-align:center">sectionLangId</td>
<td style="text-align:left">语言版本</td>
</tr>
<tr>
<td style="text-align:center">sectionDescription</td>
<td style="text-align:left">部门描述</td>
</tr>
<tr>
<td style="text-align:center">pid</td>
<td style="text-align:left">父级节点</td>
</tr>
<tr>
<td style="text-align:center">level</td>
<td style="text-align:left">当前菜单级别</td>
<td>0为1级菜单，1为2级菜单</td>
</tr>
<tr>
<td style="text-align:center">haschild</td>
<td style="text-align:left">是否有子部门</td>
<td>0没有，1有</td>
</tr>
<tr>
<td style="text-align:center">isopen</td>
<td style="text-align:left">树是否折叠</td>
<td>默认是0 折叠</td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:left">返回提示信息</td>
</tr>
</tbody>
</table>
<h4 id="json-">json示例</h4>
<p>{</p>
<p>  &quot;code&quot;: 200,
  &quot;msg&quot;: &quot;处理成功&quot;,
  &quot;data&quot;: {
    &quot;sectionId&quot;: 1,
      &quot;sectionName&quot;: &quot;董事层&quot;,
      &quot;sectionDescription&quot;: &quot;&quot;,
      &quot;pid&quot;: 0,
      &quot;sectionWebId&quot;: 182,
      &quot;sectionLangId&quot;: 1,
      &quot;haschild&quot;: 1,
      &quot;level&quot;: 1
  }
}</p>
<p>/<strong>*</strong>
PMS(接口已经完整)
WEB（接口数据部门完整，员工部门职位，模拟数据暂时使用）
Member（数据已经有）
<em>**</em>/</p>
<pre class="editor-colors lang-text"><div class="line"><span class="syntax--text syntax--plain"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntax--meta syntax--paragraph syntax--text"><span>&lt;!--&nbsp;第二份&nbsp;：&nbsp;聊天接口数据以及格式&nbsp;&nbsp;--&gt;</span></span></span></div></pre></body>
</html>
